home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Printing / Printer Defaults 1.3.2 / Printer Defaults ReadMe next >
Encoding:
Text File  |  1994-11-22  |  12.7 KB  |  304 lines  |  [TEXT/R*ch]

  1. Printer Defaults 1.3.2
  2. ----------------------
  3.  
  4. Printer Defaults is an application to modify the default settings in
  5. printer drivers and similar Chooser documents such as print-to-fax and
  6. print-to-document drivers. It has been tested on various machines
  7. running systems 6.0.7, 7.0.1., 7.1, 7.1.2 and 7.5 and with a large
  8. number of different printer drivers including LaserWriter 8.0, 8.1.1 and
  9. 8.2. If you want a more substantial range of patches for laser printers
  10. then get hold of Don Markuson's dmm-laserwriter collection which is
  11. available, for example, by anonymous ftp from mirrors of the Info-Mac
  12. archive at sumex-aim.stanford.edu in the directory /info-mac/util or
  13. /info-mac/prn.
  14.  
  15.  
  16. WARNING!!!
  17. ----------
  18.  
  19. YOU SHOULD ONLY MODIFY A COPY OF THE PRINTER DRIVER, NEVER THE ORIGINAL.
  20.  
  21.  
  22. Usage
  23. -----
  24.  
  25. Launch Printer Defaults and use the Standard File dialog to select a
  26. printer driver to configure (or drop one or more drivers onto Printer
  27. Defaults' icon under System 7). This will bring up a "Page Setup"
  28. dialog which you can use to select the new defaults. Clicking "OK"
  29. will save these back to the driver, "Cancel" will go on without
  30. saving.
  31.  
  32. For some printer drivers, there are some additional options which
  33. cannot be accessed from the Page Setup dialog. If any are applicable
  34. to the driver you are modifying an additional dialog will next
  35. appear.
  36.  
  37. Finally, a "Print…" dialog will appear so that any changes already made
  38. which affect its appearance can be seen, and, in the case of some
  39. drivers, any settings in the "Print…" dialog which can be written to
  40. back can be altered. This varies with the driver, and in any case
  41. may still be ignored or modified at print time by the printer driver
  42. or the application.
  43.  
  44.  
  45. How it works
  46. ------------
  47.  
  48. Printer Defaults works by reading in the default settings for the
  49. TPrint Record stored in the resource of type 'PREC' with ID 0 in
  50. the driver and then doing a "Page Setup". Any changes are written
  51. back to the driver and become its new defaults.
  52.  
  53. BUT, once a "Page Setup" has been done in a document, any application
  54. may save a copy of PREC 0 in its own resource fork, or preferences
  55. file, or settings document or each individual document and use this
  56. in preference to the defaults in the driver for future calls to
  57. Page Setup. Many word processors do this for each document. Subsequently
  58. modifying the driver will not have any effect on these stored defaults.
  59. TeachText always fetches the PREC 0 afresh so is a good way to test if
  60. changes have stuck. There is a lot of this sort of cacheing going on
  61. which can appear to defeat setting the defaults in the driver.
  62.  
  63.  
  64. LaserWriter 5.x, 6.0, 6.0.1
  65. ---------------------------
  66.  
  67. The Print dialog of LaserWriter 5.x, 6.0, 6.0.1 contains a hidden
  68. checkbox to allow printing of PostScript™ output to a disk file rather
  69. than a printer. Printer Defaults can make this checkbox visible.
  70.  
  71.  
  72. LaserWriter 7.2
  73. ---------------
  74.  
  75. A fore-runner of LaserWriter 8, LaserWriter 7.2 puts a ‘Setup’ button in
  76. the Chooser to allow the printer to be interrogated and stores the resulting
  77. information in a Preferences file. Printer Defaults can hide this button
  78. which makes the behaviour closer to LaserWriter 7.x.
  79.  
  80.  
  81. LaserWriter 8.x
  82. ---------------
  83.  
  84. LaserWriter 8.x (and Adobe's PSPrinter) uses a preferences file as
  85. well as resources for storing its defaults. Some features may also
  86. be read from a PPD (printer description) file and will override any
  87. settings in the driver. So the strategy for setting the defaults
  88. with these drivers is more complicated than with previous drivers.
  89. Also the preferences file must exist or the driver will only give
  90. an error message.
  91.  
  92. The preferences file is created by the driver when it is selected by
  93. the Chooser so the first step is to place the LaserWriter 8.x
  94. driver in the extensions folder and select it with the Chooser. The
  95. preferences file will be created and various information stored in
  96. it.
  97.  
  98. When Printer Defaults is run with LaserWriter 8.x, the information
  99. in the "Page Setup" dialog is partly controlled  by resources and
  100. partly by the preferences file.
  101.  
  102. For LaserWriter 8.x a second dialog of options will also be displayed.
  103. Some are additional options from Don Markuson's collection of
  104. LaserWriter patches which allow the use of the Setup button in the
  105. Chooser at all times, and add the n-up printing menu to the Print
  106. dialog. A final option allows the LaserWriter driver to be used
  107. without AppleTalk. This is useful for PS File generation as it removes
  108. the driver's ability to actually connect to a printer. LaserWriter
  109. 8.1.1 contains a PRFS -8192 resource, many of whose meanings are
  110. unknown to me - I simply read the titles of the check boxes from the
  111. TMPL supplied and allow the user to turn any of them on or off.
  112.  
  113. In order to set the driver up for a specific printer, use the Chooser to
  114. select the LaserWriter 8.x driver and press the Setup button (if the
  115. button is grayed out and you are using LaserWriter 8.0 or 8.1.1, use
  116. Printer Defaults to check the box "Setup button in Chooser always
  117. active" in the second dialog, save and then quit and then go back to
  118. the Chooser). Then press the "Select PPD…" button and choose the PPD
  119. file for your printer. Then press the "Setup" button and modify the
  120. settings to match the hardware configuration of your printer. Save the
  121. settings and close the Chooser.
  122.  
  123. Now run Printer Defaults and select the driver, set the "Page Setup"
  124. buttons to the settings you want and click the "OK" button. In the
  125. next dialog modify any settings as desired and click "Save".
  126. Finally in the "Print" dialog press the "Options" button and make
  127. any desired changes ABOVE THE DOTTED LINE. Press "OK" and then
  128. "Print" to save the changes to the driver. Note that in the
  129. "Options" dialog any settings below the dotted line are reset with
  130. every print job so cannot be made to stick with Printer Defaults.
  131. Sometimes they can be controlled by using switches on the printer
  132. itself.
  133.  
  134. LaserWriter 8.x also makes it easy to lock the driver to print only a
  135. single copy at a time. This has been added as an additional option.
  136. This was originally #7 in Don's list of hacks. The June 1994 MacWorld
  137. mistakenly said this hack was included in v1.1.1 of Printer Defaults.
  138. To avoid having to keep explaining why it isn't I have added it to
  139. v1.3 with one modification. It turns out that QuarkXpress (and perhaps
  140. other applications) can be confused by turning the number of copies
  141. entry box into a static text item as originally suggested by Don and
  142. fails to add its own additional items correctly. So in this version of
  143. Printer Defaults the number of copies is moved off screen and the
  144. driver modified so that it will ignore any entry in this box if a user
  145. attempts to type in a number blind.
  146.  
  147. If Printer Defaults finds a LaserWriter 8.x driver which has had
  148. the number of copies changed to static text, it changes the type back
  149. to edit text and moves it off-screen. 
  150.  
  151.  
  152. Third party drivers
  153. -------------------
  154.  
  155. Although Printer Defaults has never crashed for me when modifying Apple
  156. printer drivers, versions 1.3.1 and earlier did crash with some third 
  157. party drivers. I think I have traced the cause of this problem (see 
  158. the version history for the gory details). If you experience such a crash
  159. then please let me know the name of the driver, its version number and, 
  160. if possible, the driver's creator signature (as given by ResEdit's Get 
  161. File Info command). For safety it is more essential than ever in these 
  162. circumstances that you only modify a copy.
  163.  
  164. The list of these problem signatures is stored in a 'CHOS' resource and
  165. a ResEdit template is included in Printer Defaults to add signatures to
  166. or remove them from the list.
  167.  
  168.  
  169. Paper Trays
  170. -----------
  171.  
  172. One of the most frequently asked questions I have received as a result
  173. of distributing Printer Defaults is "How do I change the default
  174. paper tray in my LaserWriter Pro 630?"
  175.  
  176. The default paper source is stored in the permanent memory of the
  177. printer and can be modified by means of a short postscript program. In
  178. the Paper Trays Folder are some postscript programs (courtesy of Ad
  179. Herweijer) to set the default tray to the Main or 500-sheet Cassettes,
  180. the Multipurpose Tray or Envelope Feeder tray. The factory default is
  181. the Main Cassette.
  182.  
  183. Use the LaserWriter Utility supplied on the printer installation disks
  184. to download the program to select the desired tray. You should then
  185. also turn off "Automatic Tray Switching" in the "Paper Handling…"
  186. dialog from the "Utilities" menu. The successful selection of the new
  187. tray as default should be recorded in the LaserWriter Utility log
  188. file (which saves using up more trees to find out ;-).
  189.  
  190. I've also included some programs to change the defaults on other
  191. postscript printers that have a choice of trays (Personal LaserWriter
  192. NTR, LaserWriter Select 310/360). These are untested and I would
  193. welcome feedback on whether they have the desired effect.
  194.  
  195.  
  196. Thanks
  197. ------
  198.  
  199. Thanks to the Mac-Supporter's mailing list (one of the NISP Mailbase
  200. lists in the UK academic community) for being such a useful source of
  201. Macintosh knowhow.
  202.  
  203. Thanks to Don Markuson for all those useful LaserWriter patches and
  204. allowing me to include some in Printer Defaults. He was also kind
  205. enough to comment on an early version of Printer Defaults and suggest
  206. several improvements.
  207.  
  208. Thanks also to:
  209.  
  210. Ian Harries for bringing Don's LaserWriter 8 patches to my attention
  211. which provided the initial stimulus to write Printer Defaults.
  212.  
  213. David Fagan for pointing out some problems with LaserWriter 8.
  214.  
  215. Ad Herweijer for the PostScript routine to change the default paper
  216. tray.
  217.  
  218. Randy Hust for pointing out the MacWorld article which predicted the
  219. addition of the locked copies option;-).
  220.  
  221. Mike Schon-Hegrad for reporting the problems with the DeskWriter
  222. drivers and testing the FaxSTF driver.
  223.  
  224. Otto Giesenfeld for reporting problems with the FaxSender that comes
  225. with the Express Modem Tool.
  226.  
  227.  
  228. Copyright
  229. ---------
  230.  
  231. Printer Defaults is Copyright ©1994 by John Rawnsley but may be used
  232. freely. You use it at your own risk. Always work on a COPY of the
  233. printer driver, never the original.
  234.  
  235.  
  236. Contacts
  237. --------
  238.  
  239. Current versions of Printer Defaults can be obtained by anonymous ftp
  240. from the Info-Mac archive at sumex-aim.stanford.edu or the University
  241. of Michigan's MacArchive at mac.archive.umich.edu and their mirrors.
  242. It is also available from the Macintosh library of the UK Computing
  243. Forum (GO UKCOMP) on CompuServe where I am a sysop and from the ftp
  244. server at the University of Warwick Mathematics Department at the URL
  245. ftp://ftp.maths.warwick.ac.uk/people/jhr/Macintosh/
  246.  
  247.  
  248. Internet: jhr@maths.warwick.ac.uk
  249. CompuServe: 72662,3361
  250. Mail: John Rawnsley
  251.       Mathematics Institute
  252.       University of Warwick
  253.       Coventry, CV4 7AL
  254.       United Kingdom
  255.  
  256.  
  257.  
  258. Version history
  259. ---------------
  260. In version 1.3.2 of Printer Defaults a problem which could cause a crash
  261. with some drivers has been identified. This was caused by locking some
  262. driver resources in memory whilst handling the standard printing
  263. dialogs. Printer Defaults now only keeps copies of these resources and
  264. this seems to have fixed the problem. This version has been tested with
  265. the release version of LaserWriter 8.2. I have added a dialog pointing
  266. out that Printer Defaults does not yet work with QuickDraw GX drivers.
  267. This might change if someone can tell me where the default paper type
  268. is stored in these drivers.
  269.  
  270. In version 1.3.1 of Printer Defaults the additional options dialog for
  271. LaserWriter 8.x has been modified to work with an alpha release of
  272. LaserWriter 8.2 included on the 1994 World Wide Developer's Conference
  273. CD. There is no guarantee that it will work correctly with the final
  274. version of 8.2. It also adds an option to hide the Setup button in
  275. LaserWriter 7.2 and includes some untested postscript files intended
  276. to change the default paper trays on the Personal LaserWriter NTR and
  277. LaserWriter Select 310/360.
  278.  
  279. Version 1.3 adds the ability to lock the number of copies in the Print
  280. dialog of LaserWriter 8. This was mentioned in a recent US MacWorld
  281. article as one of Printer Defaults options so I guess I had better put
  282. it in. Some HP DeskWriter drivers cause Printer Defaults to crash
  283. unless they are the currently selected driver in the Chooser. Printer
  284. Defaults now checks for this and puts up a warning message if the
  285. driver is not selected. 
  286.  
  287. Version 1.2 adds Cmnd-Q to quit from Standard File dialog and an extra
  288. option to display an error alert when parsing PPD files in LaserWriter
  289. 8.0. It also fixes a cosmetic bug which failed to change the name of
  290. the folder button in the Standard File dialog to "System Folder" under
  291. System 6. PostScript programs are now included to change the default
  292. trays in the LaserWriter Pro 630.
  293.  
  294. Version 1.1.1 fixes a memory problem bug and has an improved
  295. interface.
  296.  
  297. Version 1.1 added some of Don Markuson's patches for LaserWriter
  298. 8.x.
  299.  
  300. Version 1.0 was the first public release and allowed the user
  301. to save the Page Setup settings as defaults. It allowed the
  302. LaserWriter 8.1.1 PRFS resource to be edited.
  303.  
  304.